package com.sxpi.convert;

import com.sxpi.model.entity.UserRole;
import com.sxpi.model.entity.Users;
import com.sxpi.model.vo.UserRoleVo;
import com.sxpi.model.vo.UsersVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface UserRoleConvert {
    UserRoleConvert INSTANCE = Mappers.getMapper(UserRoleConvert.class);

    UserRoleVo convertVoToEntity(UserRole userRole);
    List<UserRoleVo> convertVoToEntity(List<UserRole> userRole);
}
